package com.krt.webapp.until;

public class Constant {
	public static AppInfo appInfo = getAppInfos();

	private static AppInfo getAppInfos(){
		String sp_name = "wisdomeducation";
		String path = sp_name;//储存地址
		String main_url = "http://zhzg.gov.cn/zhsqapp/";//首页地址
		String up_url = "http://211.149.191.112:8887/krtAppCenter/upload/json/version-krt000.json";//更新地址
		int upmode = 2;//更新模式（1：xml  2：json）
		String main_action = "krt." + sp_name + ".main";
		boolean hasyd = true;//是否启用引导页
		AppInfo ap = new AppInfo(sp_name,path,main_url,up_url,upmode,main_action,hasyd);
		return ap;
	}
}
